/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.mzk.oai.repositoryManager.oaiId;

import cz.mzk.oai.repositoryManager.EntityNotFoundException;
import cz.mzk.oai.repositoryManager.EntityPresentException;
import cz.mzk.oai.repositoryManager.IncorrectEntityException;

/**
 *
 * @author Martin
 */
public interface OaiIdManager {

    OaiIdentifierEntity createOaiId(String base, String sysno) throws EntityPresentException;

    OaiIdentifierEntity findOaiId(String base, String sysno) throws EntityNotFoundException;

    void removeOaiId(OaiIdentifierEntity oaiId) throws IncorrectEntityException;
}
